﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace psafth.FSR.Lapcounter
{
    [Serializable]
    public class Event
    {
        public string EventName
        {
            get;
            set;
        }

        public DateTime EventDate
        {
            get;
            set;
        }

        public string Organizer
        {
            get;
            set;
        }

        public string Location
        {
            get;
            set;
        }

        public List<Heat> Heats
        {
            get;
            set;
        }

        public Event(string eventName, DateTime eventDate, string organizer, string location, List<Heat> heats)
        {
            this.EventName = eventName;
            this.EventDate = eventDate;
            this.Organizer = organizer;
            this.Location = location;
            this.Heats = heats;
        }
    }
}
